<div class="body-cont">
	<div class="col-3 row">
        <div class="clr"></div>
        <?php $this->widget('CategoryWidget'); ?>
        <div class="mod"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/banner1.gif" /></div>
        <div class="clr"></div>
        <div class="mod">
        	<div class="mod-cont">
            <div class="count">Số dự án đăng<br> <b><?php echo count(Job::model()->findAll()); ?></b><p>
            Số thành viên <br><b><?php echo count(Users::model()->findAll()); ?></b></div>
            </div>
        </div>

	</div>
    <div class="col-6 row">

        <div class="mod"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/banner2.png"/></div>
        <div class="clr"></div>
        <div class="mod">
        	<div class="mod-tit"><a href="#">TIN TỨC</a><span><a href="#">Xem tất cả</a></span></div>
        		<?php $this->widget('application.components.NewsWidget'); ?>
            <div class="clr"></div>
        </div>
        <div class="clr"></div>
        <div class="mod">
		<?php $this->widget('job.components.JobIndexWidget',array('model'=>$model)); ?>
        	<div class="clr"></div>
        </div>
        <div class="clr"></div>
        <div class="mod">
        	<div class="mod-tit"><a href="#">Dịch vụ</a><span><a href="#">Xem tất cả</a></span></div>
            <!--Danh sách các dịch vụ-->
            <?php $this->widget('service.components.List_Service');?>
            <div class="clr"></div>
        </div>

	</div>
    <div class="col-3 row">
    	<div class="social-top">
        	<a href="#"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/soc_01.png" /></a><a href="#"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/soc_03.png" /></a><a href="#"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/soc_05.png" /></a><a href="#"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/soc_07.png" /></a>
        </div>

    	<div class="clr"></div>
      <div class="mod">

    		<div class="mod-cont post">
                <div><h3>Bạn muốn</h3></div>
                <div class="post-button"><a href="index.php?r=job/create"><input class="orange" type="button" value="Đăng dự án mới" /></a></div>
                <div class="post-button"><a href="index.php?r=service/create"><input class="orange" type="button" value="Đăng dịch vụ mới" /></a></div>
   		  </div>

        <div class="clr"></div>
   	  </div>
        <?php $this->widget('ChatWidget'); ?>
        <div class="clr"></div>
        <div class="mod"><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/banner2.gif" /></div>
    </div>
	<div class="clr"></div>
</div>